Creates a module that exports Xen Hypervisor attributes to sysfs. The
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 21 Mar 2006 11:17:19 +0000 (12:17 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 21 Mar 2006 11:17:19 +0000 (12:17 +0100)
commit728b3dab1764962188fa13b64f56da53777e8309
tree409e4b890a370cf0a76dc3e6ab8f13457c442e6a
parent92b9cad184382f3ae471e6bf0a1b45d1e8897499
Creates a module that exports Xen Hypervisor attributes to sysfs. The
module has a tri-state configuration so it can be a loadable module.

Views the hypervisor as hardware device, uses sysfs as  a scripting
interface for user space tools that need these attributes.

Some user space apps, particularly for systems management, need to
know if their kernel is running in a virtual machine and if so in
what type of virtual machine. This property is contained in the
file /sys/hypervisor/type.

The file hypervisor_sysfs.c creates a generic  hypervisor subsystem
that can be linked to by any hypervisor. The file xen_sysfs.c exports
the xen-specific attributes.

Signed-off-by: Mike D. Day <ncmike@us.ibm.com>
buildconfigs/linux-defconfig_xen0_x86_32
buildconfigs/linux-defconfig_xen0_x86_64
buildconfigs/linux-defconfig_xenU_x86_32
buildconfigs/linux-defconfig_xenU_x86_64
buildconfigs/linux-defconfig_xen_x86_32
buildconfigs/linux-defconfig_xen_x86_64
linux-2.6-xen-sparse/drivers/xen/Kconfig
linux-2.6-xen-sparse/drivers/xen/core/Makefile
linux-2.6-xen-sparse/drivers/xen/core/hypervisor_sysfs.c [new file with mode: 0644]
linux-2.6-xen-sparse/drivers/xen/core/xen_sysfs.c [new file with mode: 0644]
linux-2.6-xen-sparse/include/xen/hypervisor_sysfs.h [new file with mode: 0644]